package com.forum.service.confession;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.entity.ApiResult;
import com.common.entity.PageEntity;
import com.forum.param.ConfessionCommentReplyQueryParam;
import com.forum.pojo.confession.ConfessionWallCommentReply;

import java.util.Map;


/**
 * @author Tsing
 */
public interface ConfessionWallCommentReplyService extends IService<ConfessionWallCommentReply> {

    /**
     * 分页获取指定评论下的回复
     * @return ApiResult
     * @param param
     * **/
    ApiResult<Map<String,Object>> getRepliesByComment(ConfessionCommentReplyQueryParam param);

    /**
     * 发布回复
     * @return Apiresult
     * @param reply
     * **/
    ApiResult<String> sendReply(ConfessionWallCommentReply reply);
}
